package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.MessageCenterBiz;
import ui.activity.mine.contract.MessageCenterContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class MessageCenterModule {
    private MessageCenterContract.View view;

    public MessageCenterModule(MessageCenterContract.View view) {
        this.view = view;
    }

    @Provides
    public MessageCenterContract.View provideView() {
        return view;
    }

    @Provides
    public MessageCenterBiz provideBiz() {
        return new MessageCenterBiz();
    }
}